import request from '@/utils/request'
import store from '@/store'

// 获取首页数据
export function homeMainData(data) {
  return request({
    url: store.getters['api/homeMain'],
    method: 'get',
    data
  })
}